import request from '@/utils/request.js'
import qs from 'qs'

export const selectmonitorAPI = function () {
  return request.post('/selectmonitor')
}

export const appointmonitorAPI = function (params) {
  return request.post('/appointmonitor', qs.stringify(params))
}

export const tsscoreAPI = function (params) {
  return request.post('/tsscore', qs.stringify(params))
}

export const updatescoreAPI = function (params) {
  return request.post('/updatescore', qs.stringify(params))
}

export const tscourseAPI = function (params) {
  return request.post('/tscourse', qs.stringify(params))
}

export const requiredcourseAPI = function (params) {
  return request.post('/requiredcourse', qs.stringify(params))
}

export const optionalcourseAPI = function (params) {
  return request.post('/optionalcourse', qs.stringify(params))
}

export const tccourseAPI = function (params) {
  return request.post('/tccourse', qs.stringify(params))
}
